
function pageLogin() {
	//http://localhost/dev_phpmybudgetframe/
	
	var l = 600;
	var h = 300;
	if (l == null)
		l = screen.availWidth - 10;
	if (h == null)
		h = screen.availHeight - 20;
	var top = (screen.availHeight - h - 20) / 2;
	if (top < 0)
		top = 0;
	var left = (screen.availWidth - l - 10) / 2;
	if (left < 0)
		left = 0;

	
	url = "index.php?page=LOGIN&cinematic=display";

	var option = "scrollbars=no, resizable=yes, location=no, toolbar=no, directories=no, status=yes, menubar=no";

	//window.moveTo(top, left);
	//window.resizeTo(l, h);
	
	var w = window.open (url, "", "top=" + top + ",left=" + left + ",width=" + l + ",height=" + h + "," + option);

	//window.close('_blank');
	//window.opener = self; 
	//self.close();
}